package com.everspring.constants;

import java.awt.*;

/**
 * @desc: pdf常用量
 * @author: EverSpring
 */
public class PdfCommonConstants {
    /**
     * 宋体
     */
    public static final String DEFAULT_FONT = "STSong-Light";
    /**
     * 默认字体文件
     */
    public static final String DEFAULT_FONT_FILE = "simsun.ttf";
    /**
     * 默认字体编码
     */
    public static final String DEFAULT_ENCODING = "UniGB-UCS2-H";

    /**
     * 默认默认地址
     */
    public static final String DEFAULT_TEMPLATE_PATH = "/templates/";

    /**
     * 水印
     */
    public static class Watermark{
        public static final int FONT_SIZE = 64;
        public static final float OPACITY = 0.3f;
        public static final Color color = Color.gray;

    }
}
